﻿namespace NJQuery.Configuration {
	using System.Configuration;

	/// <summary>
	/// Defines configuration settings that are used to support the behavior and deployment of the jQuery server controls and client resources.
	/// This class cannot be inherited.
	/// </summary>
	public sealed class SettingsSection : ConfigurationSection {


		#region Constructors

		/// <summary>
		/// This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
		/// Creates a new instance of the <see cref="SettingsSection"/> class.
		/// </summary>
		public SettingsSection() { }

		#endregion


		#region Properties

		/// <summary>
		/// Gets the section defining configuration settings pertaining to client script libraries.
		/// </summary>
		[ConfigurationProperty("clientScripts")]
		public ClientScriptsSection ClientScripts {
			get { return this["clientScripts"] as ClientScriptsSection; }
		}

		/// <summary>
		/// Gets the section defining configuration settings pertaining to client stylesheets.
		/// </summary>
		[ConfigurationProperty("clientStyles")]
		public ClientStylesSection ClientStyles {
			get { return this["clientStyles"] as ClientStylesSection; }
		}

		#endregion


	}

}